<TagAttribute("detail_object_collection","dobc","????","????",1,128)>
Public Class DETAIL_OBJECT_COLLECTION_TAG
Inherits HaloTag
Public Const Extension as String = "detail_object_collection"
Public Const FourCC as String = "dobc"
Public Const ParentFourCC as String = "????"
Public Const GrandParentFourCC as String = "????"
Public Const [Version] as Short = 1
Public Const HeaderLength as Integer = 128

''' <summary>
''' 
''' </summary>
<TagField("collection type", 1, 17)>
Public collection_type as Short

''' <summary>
''' 
''' </summary>
<TagField("", 2, -1)>
Public padding as Byte()

''' <summary>
''' 
''' </summary>
<TagField("global z offset:applied to all detail objects of in this collection so they don't float above the ground", 1, 0)>
Public global_z_offset as Single

''' <summary>
''' 
''' </summary>
<TagField("", 44, -1)>
Public padding_1 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("sprite plate", 16, 10)>
Public sprite_plate as New TAG_REFERENCE

''' <summary>
''' detail_object_type_block
''' </summary>
<TagField("types", 96, 11)>
Public types as List(Of TYPES_BLOCK)

''' <summary>
''' 
''' </summary>
<TagField("", 48, -1)>
Public padding_2 as Byte()
Public Class TYPES_BLOCK

''' <summary>
''' 
''' </summary>
<TagField("name^", 32, 8)>
Public name as String

''' <summary>
''' 
''' </summary>
<TagField("sequence index:[0,15]", 1, 9)>
Public sequence_index as Byte

''' <summary>
''' 
''' </summary>
<TagField("type flags", 1, 18)>
Public type_flags as Byte

''' <summary>
''' 
''' </summary>
<TagField("", 2, -1)>
Public padding as Byte()

''' <summary>
''' fraction of detail object color to use instead of the base map color in the environment:[0,1]
''' </summary>
<TagField("color override factor", 1, 0)>
Public color_override_factor as Single

''' <summary>
''' 
''' </summary>
<TagField("", 8, -1)>
Public padding_1 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("near fade distance:world units", 1, 0)>
Public near_fade_distance as Single

''' <summary>
''' 
''' </summary>
<TagField("far fade distance:world units", 1, 0)>
Public far_fade_distance as Single

''' <summary>
''' 
''' </summary>
<TagField("size:world units per pixel", 1, 0)>
Public size as Single

''' <summary>
''' 
''' </summary>
<TagField("", 4, -1)>
Public padding_2 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("minimum color:[0,1]", 3, 2)>
Public minimum_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("maximum color:[0,1]", 3, 2)>
Public maximum_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("ambient color:[0,255]", 1, 4)>
Public ambient_color as Integer

''' <summary>
''' 
''' </summary>
<TagField("", 4, -1)>
Public padding_3 as Byte()

End Class

End Class
